﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Slf.Samples.HidingSlfDependencies
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.ForegroundColor = ConsoleColor.Green;
      Console.Out.WriteLine("A simple sample that uses an 'InternalLoggerService' which further abstracts SLF and minimizes dependencies on SLF.");
      Console.ResetColor();

      //there is no reference to SLF in this class. Only the
      //"InternalLoggerService" has this dependency

      //-> this can be valuable if you have a lot of logging instructions
      //and/or libraries that would otherwise depend on SLF
      InternalLoggerService.LogInfo("hello world");

      Console.ReadLine();
    }
  }
}